package com.fast.fastenjoy.components.common.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.fast.fastenjoy.base.domain.BaseDomain;

@Entity
@Table(name="T_S_DATA")
public class BasicData extends BaseDomain{

	private static final long serialVersionUID = 6171702021567551688L;

	private int id;
	
	private String dataTypeCode;
	
	private String dataName;
	
	private String dataValue;
	
	private String dataDesc;

	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	@Column
	public String getDataTypeCode() {
		return dataTypeCode;
	}

	public void setDataTypeCode(String dataTypeCode) {
		this.dataTypeCode = dataTypeCode;
	}

	@Column
	public String getDataName() {
		return dataName;
	}

	public void setDataName(String dataName) {
		this.dataName = dataName;
	}

	@Column
	public String getDataValue() {
		return dataValue;
	}

	public void setDataValue(String dataValue) {
		this.dataValue = dataValue;
	}

	@Column
	public String getDataDesc() {
		return dataDesc;
	}

	public void setDataDesc(String dataDesc) {
		this.dataDesc = dataDesc;
	}
	
}
